package com.cskaoyan.demo6.mapper;

import com.cskaoyan.demo6.bean.model.MarketGrouponRules;
import com.cskaoyan.demo6.bean.model.MarketGrouponRulesExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
*@Description：
*@Author：BLUEBLANK
*@Date：2024/4/20  21:13
*/


    
public interface MarketGrouponRulesMapper {
    long countByExample(MarketGrouponRulesExample example);

    int deleteByExample(MarketGrouponRulesExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketGrouponRules record);

    int insertOrUpdate(MarketGrouponRules record);

    int insertOrUpdateSelective(MarketGrouponRules record);

    int insertSelective(MarketGrouponRules record);

    List<MarketGrouponRules> selectByExample(MarketGrouponRulesExample example);

    MarketGrouponRules selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketGrouponRules record, @Param("example") MarketGrouponRulesExample example);

    int updateByExample(@Param("record") MarketGrouponRules record, @Param("example") MarketGrouponRulesExample example);

    int updateByPrimaryKeySelective(MarketGrouponRules record);

    int updateByPrimaryKey(MarketGrouponRules record);

    int updateBatch(List<MarketGrouponRules> list);

    int updateBatchSelective(List<MarketGrouponRules> list);

    int batchInsert(@Param("list") List<MarketGrouponRules> list);
}